<div class="content4 content41 page content" data-page="accountBulkstockListing" id="accountBulkstockListing">
	<div class="pickupForm">
		<div class="bulkstockListingTitle">货物一览</div>
		<a id="updateWaybillNumber" style="text-decoration: none;">物流运单号变更</a>
		<a id="selectStatus" style="text-decoration: none;">查询加锁状态</a>
		<a id="goldLocked" style="text-decoration: none;">加锁</a>
		<a id="goldUnlocked" style="text-decoration: none;">解锁</a>
		<a id="shipInfo" style="text-decoration: none;">船动态</a>
		<input type="checkbox" class="checkedAll" /> 全选           箱号 : <input type="text" class="caseNumber"/>     运单号 : <input type="text" class="waybillNumber"/>
		<div>
			<a class="pickupState" href="javascript:void(0);">全部</a>
			<a class="pickupState" href="javascript:void(0);" value="1">已提货</a>
			<a class="pickupState" href="javascript:void(0);" value="2">质押中</a>
		</div>
		<div class="case_info"></div>
		<table class="table" id="bulkstockListingBody">
		</table>
		<div class="pagerCon"></div>
		<script type="text/template" id="bulkstockListingTpl">
			<tr>
				<th>箱号</th>
				<th>运单号</th>
				<th class="none">箱型尺寸</th>
				<th>货物</th>
				<th>重量</th>
				<th>加锁状态</th>
				<th>监管状态</th>
				<th>提货状态</th>
				<th>操作</th>
			</tr>
			{@each datas as it, index}
				<tr inventoryId="${it.inventoryId}" waybillNumber="${it.waybillNumber}" caseNumber="${it.caseNumber}">
					<td>${index*1 + 1} <input type="checkbox" class="checked" /> ${it.caseNumber}</td>
					<td>${it.waybillNumber}</td>
					<td class="caseSize none">${it.caseSize}</td>
					<td>
						{@each it.containerBulkstocks as that} ${that.bulkstockName}（${that.specification}） {@/each}
					</td>
					<td>
						{@each it.containerBulkstocks as that} ${that.weight}吨{@/each}
					</td>
					<td class="state">
						未知
					</td>
					<td>
						${getValueByKey(5, it.supervisionState)}
					</td>
					<td>
						{@if it.pickupId == 0}
						质押中
						{@else}
						已提货
						{@/if}
					</td>
					<td><a class="detainedDetail">详情</a> <a class="inquireLogisticsDetailInfo">物流追踪</a> <a class="inventoryLog">箱动态</a> <a class="shipInfo">贝位图</a> <a class="shipDynamic">箱位置</a></td>
				</tr>		
			{@/each}
		</script>
		<script type="text/template" id="bulkstockListingTpl1">
			<tr>
				<th>No</th>
				<th>入库单编号</th>
				<th>仓库</th>
				<th>商品</th>
				<th>入库量</th>
				<th>重量</th>
				<th>单位</th>
				<th>等级</th>
				<th>操作</th>
			</tr>
			{@each datas as it, index}
			<tr class="tr_style table-data" inventoryId="${it.inventoryId}" caseNumber="${it.caseNumber}" financeNumber="${it.financeNumber}">
				<td><input type="checkbox" class="supervisionNoticeCheckeds" inventoryId="${it.inventoryId}" /> ${index*1+1}</td>
				<td>${it.caseNumber}</td>
				<td>${it.warehouseName}</td>
				<td>${it.containerBulkstocks[0].bulkstockName}</td>
				<td>${it.containerBulkstocks[0].quantity}</td>
				<td>${it.containerBulkstocks[0].weight}</td>
				<td>${it.containerBulkstocks[0].unit}</td>
				<td>${it.containerBulkstocks[0].specification}</td>
				<td><a href="javascript:void(0);" class="detail">详情</a></td>
			</tr>	
			{@/each}
		</script>
		<div class="footButton">
			<a href="javascript:history.go(-1)">返&nbsp;&nbsp;&nbsp;回</a>
		</div>
	</div>
</div>